#!/bin/sh
bin_dir=$HOME/git/p2pcpp/build/bin

cd $bin_dir
mkdir -p ~/git/log/
log_file=~/git/log/port_client_`date +%Y-%m-%d`.log
#comment cmd for client
#./p2pcpp -t suite_udp_multiple/case_public_ip_client

nohup ./p2pcpp -t suite_udp_multiple/case_ask_for_nat_connection 2>&1 | tee $log_file &
#tail -f $log_file

exit

#only show reslut
./p2pcpp -t suite_udp_multiple/case_public_ip_client|tee $log_file
./p2pcpp -t suite_udp_multiple/case_ask_for_nat_connection


